xen source now.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
-I$(BASEDIR)/include/asm-ia64/linux-xen \
-I$(BASEDIR)/arch/ia64/linux -I$(BASEDIR)/arch/ia64/linux-xen
CFLAGS += -Wno-pointer-arith -Wredundant-decls
-CFLAGS += -DIA64 -DXEN -DLINUX_2_6
+CFLAGS += -DIA64 -DXEN -DLINUX_2_6 -DXEN_HYPERVISOR
CFLAGS += -ffixed-r13 -mfixed-range=f12-f15,f32-f127
CFLAGS += -w -g
ifeq ($(CONFIG_VTI),y)
} u;
};
+#ifdef XEN_HYPERVISOR
struct pt_regs {
+#else
+struct xen_pt_regs {
+#endif
/* The following registers are saved by SAVE_MIN: */
unsigned long b6; /* scratch */
unsigned long b7; /* scratch */
unsigned long vm_assist; /* VMASST_TYPE_* bitmap, now none on IPF */
unsigned long guest_iip; /* Guest entry point */
+#ifdef XEN_HYPERVISOR
struct pt_regs regs;
+#else
+ struct xen_pt_regs regs;
+#endif
arch_vcpu_info_t vcpu;
arch_shared_info_t shared;
} vcpu_guest_context_t;